Recursive Assertions are not enough - or are they?

نویسندگان

  • Krzysztof R. Apt
  • Jan A. Bergstra
  • Lambert G. L. T. Meertens
چکیده

Call a set of assertions sd complete (with respect to a class of programs .9') if for any p, a e sof and S e ,g', whenever 1/21.5{q} holds, then all intermediate assertions can be chosen from st This paper is devoted to the study of the problem which sets of assertions are complete in the above sense. We prove that any set of recursive assertions containing true and false is not complete. We prove the completeness for while programs of some more powerful assertions, e.g. the set of recursively enumerable assertions. Finally, we show that by allowing the use of an 'auxiliary' coordinate, the set of recursive assertions is complete for while programs.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Static Analysis for Program Understanding and Debugging

This paper presents a static pointer analysis technique for a subset of C. The tool supports user-defined assertions inserted in the body of the program. Assertions are of two kinds: static assertions automatically verified by the analyser, and hypothetical assertions treated as assumptions by the analyser. The technique deals with recursive data structures and it is accurate enough to handle c...

متن کامل

Programming with Equations, Subsets, and Relations

We discuss the declarative and computational issues in combining equa-tional, subset, and relational assertions in a logic programming language. The novel feature in this work is the subset assertion, whose interactions with equational and relational assertions are discussed in this paper. The semantics of subset assertions incorporate a collect all capability, which is expressed formally by th...

متن کامل

مشاهده چگونگی رشد کودکان

  It is necessary for community health nurses to be aware of children growth velocity as well as their height. This is a report of Joan Arton’s study on primary schools children. Traditionally children health indicators were based on if they gain enough weight or not. Although today it is proved that height is a better index for children health, but measuring height alone is not enough and grow...

متن کامل

An American Plague: Pro-Market Believers in Health Policy; Comment on “On Health Policy and Management (HPAM): Mind the Theory-Policypractice Gap”

Although American health policy debates address similar problems to other developed nations, it has factual and ideological specificities. I agree with Chinitz and Rodwin on the dominance of micro-economics thinking. However, I am not certain that learning from management theory or modifying medical education will be powerful enough to change the system. The vested interests of the stakeholders...

متن کامل

Recursive Assertions for Data Structures

We present an assertion language for expressing properties of data structures. Its key features are constraints over arrays, multisets and integers which allow the specification of basic assertions, and rules, which allow the recursive specification of assertions. This language can thus be used to define assertions to an arbitrary level of expressiveness, ranging from low-level properties of me...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Theor. Comput. Sci.

دوره 8  شماره 

صفحات  -

تاریخ انتشار 1979